﻿package org.leles.engines.beatgame 
{
	import flash.events.EventDispatcher;
	import org.leles.common.ITaggedObject;
	
	/**
	 * ...
	 * @author Bruno leles
	 */
	public class BeatGameObject extends EventDispatcher implements ITaggedObject
	{
		protected var _engine:BeatGameEngine;
		
		public function BeatGameObject(engine:BeatGameEngine = null) 
		{
			_engine = engine;
		}
		
		public function get engine():BeatGameEngine { return _engine; }
		public function set engine(value:BeatGameEngine):void 	{ _engine = value; }
		
		/* INTERFACE org.leles.common.ITaggedObject */
		private var _tag:Object;
		public function get tag():Object{	return _tag;	}
		public function set tag(value:Object):void { _tag = value;	}
		
	}
	
}